#include "sym.h"
std::string ID;

std::set<std::string> idList;

bool setId(std::string s) {
  if((s[0] > 'z' || s[0] < 'A' || (s[0] > 'Z' && s[0] < 'a')) && s[0] != '_') return false;

  if (idList.find(s) == idList.end())
    idList.insert(s);
  SYM = SYMS::IDENT;
  ID = s;
  return true;  
}